/**
 * Copyright (c) 2014 zhenrongbao.com, Inc. All Rights Reserved
 * @author: jiangshuguang
 * @Date  : 14-12-16
 * @Time  : 下午5:28
 * @brief :
 */
exports.gcode = function(){
    var $widget = $('.widget-gcode'),
        src = '/verification/index';


    $widget.find('.btn-refresh').on('click',function(){
        var rand = Math.random();
        $widget.find('.code-img').attr('src',src+"?rand="+rand);
    });


};